package com.coder.shop.dao.model;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class ShopGoodsExample implements Serializable {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private static final long serialVersionUID = 1L;

    public ShopGoodsExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria implements Serializable {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andNameIsNull() {
            addCriterion("name is null");
            return (Criteria) this;
        }

        public Criteria andNameIsNotNull() {
            addCriterion("name is not null");
            return (Criteria) this;
        }

        public Criteria andNameEqualTo(String value) {
            addCriterion("name =", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotEqualTo(String value) {
            addCriterion("name <>", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThan(String value) {
            addCriterion("name >", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualTo(String value) {
            addCriterion("name >=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThan(String value) {
            addCriterion("name <", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualTo(String value) {
            addCriterion("name <=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLike(String value) {
            addCriterion("name like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotLike(String value) {
            addCriterion("name not like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameIn(List<String> values) {
            addCriterion("name in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotIn(List<String> values) {
            addCriterion("name not in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameBetween(String value1, String value2) {
            addCriterion("name between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotBetween(String value1, String value2) {
            addCriterion("name not between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andTypeIdIsNull() {
            addCriterion("type_id is null");
            return (Criteria) this;
        }

        public Criteria andTypeIdIsNotNull() {
            addCriterion("type_id is not null");
            return (Criteria) this;
        }

        public Criteria andTypeIdEqualTo(Integer value) {
            addCriterion("type_id =", value, "typeId");
            return (Criteria) this;
        }

        public Criteria andTypeIdNotEqualTo(Integer value) {
            addCriterion("type_id <>", value, "typeId");
            return (Criteria) this;
        }

        public Criteria andTypeIdGreaterThan(Integer value) {
            addCriterion("type_id >", value, "typeId");
            return (Criteria) this;
        }

        public Criteria andTypeIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("type_id >=", value, "typeId");
            return (Criteria) this;
        }

        public Criteria andTypeIdLessThan(Integer value) {
            addCriterion("type_id <", value, "typeId");
            return (Criteria) this;
        }

        public Criteria andTypeIdLessThanOrEqualTo(Integer value) {
            addCriterion("type_id <=", value, "typeId");
            return (Criteria) this;
        }

        public Criteria andTypeIdIn(List<Integer> values) {
            addCriterion("type_id in", values, "typeId");
            return (Criteria) this;
        }

        public Criteria andTypeIdNotIn(List<Integer> values) {
            addCriterion("type_id not in", values, "typeId");
            return (Criteria) this;
        }

        public Criteria andTypeIdBetween(Integer value1, Integer value2) {
            addCriterion("type_id between", value1, value2, "typeId");
            return (Criteria) this;
        }

        public Criteria andTypeIdNotBetween(Integer value1, Integer value2) {
            addCriterion("type_id not between", value1, value2, "typeId");
            return (Criteria) this;
        }

        public Criteria andBrandIdIsNull() {
            addCriterion("brand_id is null");
            return (Criteria) this;
        }

        public Criteria andBrandIdIsNotNull() {
            addCriterion("brand_id is not null");
            return (Criteria) this;
        }

        public Criteria andBrandIdEqualTo(Integer value) {
            addCriterion("brand_id =", value, "brandId");
            return (Criteria) this;
        }

        public Criteria andBrandIdNotEqualTo(Integer value) {
            addCriterion("brand_id <>", value, "brandId");
            return (Criteria) this;
        }

        public Criteria andBrandIdGreaterThan(Integer value) {
            addCriterion("brand_id >", value, "brandId");
            return (Criteria) this;
        }

        public Criteria andBrandIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("brand_id >=", value, "brandId");
            return (Criteria) this;
        }

        public Criteria andBrandIdLessThan(Integer value) {
            addCriterion("brand_id <", value, "brandId");
            return (Criteria) this;
        }

        public Criteria andBrandIdLessThanOrEqualTo(Integer value) {
            addCriterion("brand_id <=", value, "brandId");
            return (Criteria) this;
        }

        public Criteria andBrandIdIn(List<Integer> values) {
            addCriterion("brand_id in", values, "brandId");
            return (Criteria) this;
        }

        public Criteria andBrandIdNotIn(List<Integer> values) {
            addCriterion("brand_id not in", values, "brandId");
            return (Criteria) this;
        }

        public Criteria andBrandIdBetween(Integer value1, Integer value2) {
            addCriterion("brand_id between", value1, value2, "brandId");
            return (Criteria) this;
        }

        public Criteria andBrandIdNotBetween(Integer value1, Integer value2) {
            addCriterion("brand_id not between", value1, value2, "brandId");
            return (Criteria) this;
        }

        public Criteria andWeightIsNull() {
            addCriterion("weight is null");
            return (Criteria) this;
        }

        public Criteria andWeightIsNotNull() {
            addCriterion("weight is not null");
            return (Criteria) this;
        }

        public Criteria andWeightEqualTo(Double value) {
            addCriterion("weight =", value, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightNotEqualTo(Double value) {
            addCriterion("weight <>", value, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightGreaterThan(Double value) {
            addCriterion("weight >", value, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightGreaterThanOrEqualTo(Double value) {
            addCriterion("weight >=", value, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightLessThan(Double value) {
            addCriterion("weight <", value, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightLessThanOrEqualTo(Double value) {
            addCriterion("weight <=", value, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightIn(List<Double> values) {
            addCriterion("weight in", values, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightNotIn(List<Double> values) {
            addCriterion("weight not in", values, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightBetween(Double value1, Double value2) {
            addCriterion("weight between", value1, value2, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightNotBetween(Double value1, Double value2) {
            addCriterion("weight not between", value1, value2, "weight");
            return (Criteria) this;
        }

        public Criteria andIsShelfIsNull() {
            addCriterion("is_shelf is null");
            return (Criteria) this;
        }

        public Criteria andIsShelfIsNotNull() {
            addCriterion("is_shelf is not null");
            return (Criteria) this;
        }

        public Criteria andIsShelfEqualTo(Boolean value) {
            addCriterion("is_shelf =", value, "isShelf");
            return (Criteria) this;
        }

        public Criteria andIsShelfNotEqualTo(Boolean value) {
            addCriterion("is_shelf <>", value, "isShelf");
            return (Criteria) this;
        }

        public Criteria andIsShelfGreaterThan(Boolean value) {
            addCriterion("is_shelf >", value, "isShelf");
            return (Criteria) this;
        }

        public Criteria andIsShelfGreaterThanOrEqualTo(Boolean value) {
            addCriterion("is_shelf >=", value, "isShelf");
            return (Criteria) this;
        }

        public Criteria andIsShelfLessThan(Boolean value) {
            addCriterion("is_shelf <", value, "isShelf");
            return (Criteria) this;
        }

        public Criteria andIsShelfLessThanOrEqualTo(Boolean value) {
            addCriterion("is_shelf <=", value, "isShelf");
            return (Criteria) this;
        }

        public Criteria andIsShelfIn(List<Boolean> values) {
            addCriterion("is_shelf in", values, "isShelf");
            return (Criteria) this;
        }

        public Criteria andIsShelfNotIn(List<Boolean> values) {
            addCriterion("is_shelf not in", values, "isShelf");
            return (Criteria) this;
        }

        public Criteria andIsShelfBetween(Boolean value1, Boolean value2) {
            addCriterion("is_shelf between", value1, value2, "isShelf");
            return (Criteria) this;
        }

        public Criteria andIsShelfNotBetween(Boolean value1, Boolean value2) {
            addCriterion("is_shelf not between", value1, value2, "isShelf");
            return (Criteria) this;
        }

        public Criteria andScoreIsNull() {
            addCriterion("score is null");
            return (Criteria) this;
        }

        public Criteria andScoreIsNotNull() {
            addCriterion("score is not null");
            return (Criteria) this;
        }

        public Criteria andScoreEqualTo(Integer value) {
            addCriterion("score =", value, "score");
            return (Criteria) this;
        }

        public Criteria andScoreNotEqualTo(Integer value) {
            addCriterion("score <>", value, "score");
            return (Criteria) this;
        }

        public Criteria andScoreGreaterThan(Integer value) {
            addCriterion("score >", value, "score");
            return (Criteria) this;
        }

        public Criteria andScoreGreaterThanOrEqualTo(Integer value) {
            addCriterion("score >=", value, "score");
            return (Criteria) this;
        }

        public Criteria andScoreLessThan(Integer value) {
            addCriterion("score <", value, "score");
            return (Criteria) this;
        }

        public Criteria andScoreLessThanOrEqualTo(Integer value) {
            addCriterion("score <=", value, "score");
            return (Criteria) this;
        }

        public Criteria andScoreIn(List<Integer> values) {
            addCriterion("score in", values, "score");
            return (Criteria) this;
        }

        public Criteria andScoreNotIn(List<Integer> values) {
            addCriterion("score not in", values, "score");
            return (Criteria) this;
        }

        public Criteria andScoreBetween(Integer value1, Integer value2) {
            addCriterion("score between", value1, value2, "score");
            return (Criteria) this;
        }

        public Criteria andScoreNotBetween(Integer value1, Integer value2) {
            addCriterion("score not between", value1, value2, "score");
            return (Criteria) this;
        }

        public Criteria andAlertStockIsNull() {
            addCriterion("alert_stock is null");
            return (Criteria) this;
        }

        public Criteria andAlertStockIsNotNull() {
            addCriterion("alert_stock is not null");
            return (Criteria) this;
        }

        public Criteria andAlertStockEqualTo(Integer value) {
            addCriterion("alert_stock =", value, "alertStock");
            return (Criteria) this;
        }

        public Criteria andAlertStockNotEqualTo(Integer value) {
            addCriterion("alert_stock <>", value, "alertStock");
            return (Criteria) this;
        }

        public Criteria andAlertStockGreaterThan(Integer value) {
            addCriterion("alert_stock >", value, "alertStock");
            return (Criteria) this;
        }

        public Criteria andAlertStockGreaterThanOrEqualTo(Integer value) {
            addCriterion("alert_stock >=", value, "alertStock");
            return (Criteria) this;
        }

        public Criteria andAlertStockLessThan(Integer value) {
            addCriterion("alert_stock <", value, "alertStock");
            return (Criteria) this;
        }

        public Criteria andAlertStockLessThanOrEqualTo(Integer value) {
            addCriterion("alert_stock <=", value, "alertStock");
            return (Criteria) this;
        }

        public Criteria andAlertStockIn(List<Integer> values) {
            addCriterion("alert_stock in", values, "alertStock");
            return (Criteria) this;
        }

        public Criteria andAlertStockNotIn(List<Integer> values) {
            addCriterion("alert_stock not in", values, "alertStock");
            return (Criteria) this;
        }

        public Criteria andAlertStockBetween(Integer value1, Integer value2) {
            addCriterion("alert_stock between", value1, value2, "alertStock");
            return (Criteria) this;
        }

        public Criteria andAlertStockNotBetween(Integer value1, Integer value2) {
            addCriterion("alert_stock not between", value1, value2, "alertStock");
            return (Criteria) this;
        }

        public Criteria andPageTitleIsNull() {
            addCriterion("page_title is null");
            return (Criteria) this;
        }

        public Criteria andPageTitleIsNotNull() {
            addCriterion("page_title is not null");
            return (Criteria) this;
        }

        public Criteria andPageTitleEqualTo(String value) {
            addCriterion("page_title =", value, "pageTitle");
            return (Criteria) this;
        }

        public Criteria andPageTitleNotEqualTo(String value) {
            addCriterion("page_title <>", value, "pageTitle");
            return (Criteria) this;
        }

        public Criteria andPageTitleGreaterThan(String value) {
            addCriterion("page_title >", value, "pageTitle");
            return (Criteria) this;
        }

        public Criteria andPageTitleGreaterThanOrEqualTo(String value) {
            addCriterion("page_title >=", value, "pageTitle");
            return (Criteria) this;
        }

        public Criteria andPageTitleLessThan(String value) {
            addCriterion("page_title <", value, "pageTitle");
            return (Criteria) this;
        }

        public Criteria andPageTitleLessThanOrEqualTo(String value) {
            addCriterion("page_title <=", value, "pageTitle");
            return (Criteria) this;
        }

        public Criteria andPageTitleLike(String value) {
            addCriterion("page_title like", value, "pageTitle");
            return (Criteria) this;
        }

        public Criteria andPageTitleNotLike(String value) {
            addCriterion("page_title not like", value, "pageTitle");
            return (Criteria) this;
        }

        public Criteria andPageTitleIn(List<String> values) {
            addCriterion("page_title in", values, "pageTitle");
            return (Criteria) this;
        }

        public Criteria andPageTitleNotIn(List<String> values) {
            addCriterion("page_title not in", values, "pageTitle");
            return (Criteria) this;
        }

        public Criteria andPageTitleBetween(String value1, String value2) {
            addCriterion("page_title between", value1, value2, "pageTitle");
            return (Criteria) this;
        }

        public Criteria andPageTitleNotBetween(String value1, String value2) {
            addCriterion("page_title not between", value1, value2, "pageTitle");
            return (Criteria) this;
        }

        public Criteria andPageKewordsIsNull() {
            addCriterion("page_kewords is null");
            return (Criteria) this;
        }

        public Criteria andPageKewordsIsNotNull() {
            addCriterion("page_kewords is not null");
            return (Criteria) this;
        }

        public Criteria andPageKewordsEqualTo(String value) {
            addCriterion("page_kewords =", value, "pageKewords");
            return (Criteria) this;
        }

        public Criteria andPageKewordsNotEqualTo(String value) {
            addCriterion("page_kewords <>", value, "pageKewords");
            return (Criteria) this;
        }

        public Criteria andPageKewordsGreaterThan(String value) {
            addCriterion("page_kewords >", value, "pageKewords");
            return (Criteria) this;
        }

        public Criteria andPageKewordsGreaterThanOrEqualTo(String value) {
            addCriterion("page_kewords >=", value, "pageKewords");
            return (Criteria) this;
        }

        public Criteria andPageKewordsLessThan(String value) {
            addCriterion("page_kewords <", value, "pageKewords");
            return (Criteria) this;
        }

        public Criteria andPageKewordsLessThanOrEqualTo(String value) {
            addCriterion("page_kewords <=", value, "pageKewords");
            return (Criteria) this;
        }

        public Criteria andPageKewordsLike(String value) {
            addCriterion("page_kewords like", value, "pageKewords");
            return (Criteria) this;
        }

        public Criteria andPageKewordsNotLike(String value) {
            addCriterion("page_kewords not like", value, "pageKewords");
            return (Criteria) this;
        }

        public Criteria andPageKewordsIn(List<String> values) {
            addCriterion("page_kewords in", values, "pageKewords");
            return (Criteria) this;
        }

        public Criteria andPageKewordsNotIn(List<String> values) {
            addCriterion("page_kewords not in", values, "pageKewords");
            return (Criteria) this;
        }

        public Criteria andPageKewordsBetween(String value1, String value2) {
            addCriterion("page_kewords between", value1, value2, "pageKewords");
            return (Criteria) this;
        }

        public Criteria andPageKewordsNotBetween(String value1, String value2) {
            addCriterion("page_kewords not between", value1, value2, "pageKewords");
            return (Criteria) this;
        }

        public Criteria andPageDescripteIsNull() {
            addCriterion("page_descripte is null");
            return (Criteria) this;
        }

        public Criteria andPageDescripteIsNotNull() {
            addCriterion("page_descripte is not null");
            return (Criteria) this;
        }

        public Criteria andPageDescripteEqualTo(String value) {
            addCriterion("page_descripte =", value, "pageDescripte");
            return (Criteria) this;
        }

        public Criteria andPageDescripteNotEqualTo(String value) {
            addCriterion("page_descripte <>", value, "pageDescripte");
            return (Criteria) this;
        }

        public Criteria andPageDescripteGreaterThan(String value) {
            addCriterion("page_descripte >", value, "pageDescripte");
            return (Criteria) this;
        }

        public Criteria andPageDescripteGreaterThanOrEqualTo(String value) {
            addCriterion("page_descripte >=", value, "pageDescripte");
            return (Criteria) this;
        }

        public Criteria andPageDescripteLessThan(String value) {
            addCriterion("page_descripte <", value, "pageDescripte");
            return (Criteria) this;
        }

        public Criteria andPageDescripteLessThanOrEqualTo(String value) {
            addCriterion("page_descripte <=", value, "pageDescripte");
            return (Criteria) this;
        }

        public Criteria andPageDescripteLike(String value) {
            addCriterion("page_descripte like", value, "pageDescripte");
            return (Criteria) this;
        }

        public Criteria andPageDescripteNotLike(String value) {
            addCriterion("page_descripte not like", value, "pageDescripte");
            return (Criteria) this;
        }

        public Criteria andPageDescripteIn(List<String> values) {
            addCriterion("page_descripte in", values, "pageDescripte");
            return (Criteria) this;
        }

        public Criteria andPageDescripteNotIn(List<String> values) {
            addCriterion("page_descripte not in", values, "pageDescripte");
            return (Criteria) this;
        }

        public Criteria andPageDescripteBetween(String value1, String value2) {
            addCriterion("page_descripte between", value1, value2, "pageDescripte");
            return (Criteria) this;
        }

        public Criteria andPageDescripteNotBetween(String value1, String value2) {
            addCriterion("page_descripte not between", value1, value2, "pageDescripte");
            return (Criteria) this;
        }

        public Criteria andShareContentIsNull() {
            addCriterion("share_content is null");
            return (Criteria) this;
        }

        public Criteria andShareContentIsNotNull() {
            addCriterion("share_content is not null");
            return (Criteria) this;
        }

        public Criteria andShareContentEqualTo(String value) {
            addCriterion("share_content =", value, "shareContent");
            return (Criteria) this;
        }

        public Criteria andShareContentNotEqualTo(String value) {
            addCriterion("share_content <>", value, "shareContent");
            return (Criteria) this;
        }

        public Criteria andShareContentGreaterThan(String value) {
            addCriterion("share_content >", value, "shareContent");
            return (Criteria) this;
        }

        public Criteria andShareContentGreaterThanOrEqualTo(String value) {
            addCriterion("share_content >=", value, "shareContent");
            return (Criteria) this;
        }

        public Criteria andShareContentLessThan(String value) {
            addCriterion("share_content <", value, "shareContent");
            return (Criteria) this;
        }

        public Criteria andShareContentLessThanOrEqualTo(String value) {
            addCriterion("share_content <=", value, "shareContent");
            return (Criteria) this;
        }

        public Criteria andShareContentLike(String value) {
            addCriterion("share_content like", value, "shareContent");
            return (Criteria) this;
        }

        public Criteria andShareContentNotLike(String value) {
            addCriterion("share_content not like", value, "shareContent");
            return (Criteria) this;
        }

        public Criteria andShareContentIn(List<String> values) {
            addCriterion("share_content in", values, "shareContent");
            return (Criteria) this;
        }

        public Criteria andShareContentNotIn(List<String> values) {
            addCriterion("share_content not in", values, "shareContent");
            return (Criteria) this;
        }

        public Criteria andShareContentBetween(String value1, String value2) {
            addCriterion("share_content between", value1, value2, "shareContent");
            return (Criteria) this;
        }

        public Criteria andShareContentNotBetween(String value1, String value2) {
            addCriterion("share_content not between", value1, value2, "shareContent");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdateTimeIsNull() {
            addCriterion("last_update_time is null");
            return (Criteria) this;
        }

        public Criteria andLastUpdateTimeIsNotNull() {
            addCriterion("last_update_time is not null");
            return (Criteria) this;
        }

        public Criteria andLastUpdateTimeEqualTo(Date value) {
            addCriterion("last_update_time =", value, "lastUpdateTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdateTimeNotEqualTo(Date value) {
            addCriterion("last_update_time <>", value, "lastUpdateTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdateTimeGreaterThan(Date value) {
            addCriterion("last_update_time >", value, "lastUpdateTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("last_update_time >=", value, "lastUpdateTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdateTimeLessThan(Date value) {
            addCriterion("last_update_time <", value, "lastUpdateTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("last_update_time <=", value, "lastUpdateTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdateTimeIn(List<Date> values) {
            addCriterion("last_update_time in", values, "lastUpdateTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdateTimeNotIn(List<Date> values) {
            addCriterion("last_update_time not in", values, "lastUpdateTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("last_update_time between", value1, value2, "lastUpdateTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("last_update_time not between", value1, value2, "lastUpdateTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria implements Serializable {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion implements Serializable {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}